Optimal. Leaf size=63 \[ -\frac {a C+A b}{x}-\frac {a A}{3 x^3}-\frac {a B}{2 x^2}+x (A c+b C)+b B \log (x)+\frac {1}{2} B c x^2+\frac {1}{3} c C x^3 \]
________________________________________________________________________________________
Rubi [A] time = 0.05, antiderivative size = 63, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 1, integrand size = 26, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.038, Rules used = {1628} \begin {gather*} -\frac {a C+A b}{x}-\frac {a A}{3 x^3}-\frac {a B}{2 x^2}+x (A c+b C)+b B \log (x)+\frac {1}{2} B c x^2+\frac {1}{3} c C x^3 \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 1628
Rubi steps
\begin {align*} \int \frac {\left (A+B x+C x^2\right ) \left (a+b x^2+c x^4\right )}{x^4} \, dx &=\int \left (A c \left (1+\frac {b C}{A c}\right )+\frac {a A}{x^4}+\frac {a B}{x^3}+\frac {A b+a C}{x^2}+\frac {b B}{x}+B c x+c C x^2\right ) \, dx\\ &=-\frac {a A}{3 x^3}-\frac {a B}{2 x^2}-\frac {A b+a C}{x}+(A c+b C) x+\frac {1}{2} B c x^2+\frac {1}{3} c C x^3+b B \log (x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.04, size = 60, normalized size = 0.95 \begin {gather*} -\frac {a (2 A+3 x (B+2 C x))}{6 x^3}-\frac {A b}{x}+A c x+b B \log (x)+b C x+\frac {1}{2} B c x^2+\frac {1}{3} c C x^3 \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (A+B x+C x^2\right ) \left (a+b x^2+c x^4\right )}{x^4} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 1.26, size = 62, normalized size = 0.98 \begin {gather*} \frac {2 \, C c x^{6} + 3 \, B c x^{5} + 6 \, B b x^{3} \log \relax (x) + 6 \, {\left (C b + A c\right )} x^{4} - 3 \, B a x - 6 \, {\left (C a + A b\right )} x^{2} - 2 \, A a}{6 \, x^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.37, size = 56, normalized size = 0.89 \begin {gather*} \frac {1}{3} \, C c x^{3} + \frac {1}{2} \, B c x^{2} + C b x + A c x + B b \log \left ({\left | x \right |}\right ) - \frac {3 \, B a x + 6 \, {\left (C a + A b\right )} x^{2} + 2 \, A a}{6 \, x^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.01, size = 57, normalized size = 0.90 \begin {gather*} \frac {C c \,x^{3}}{3}+\frac {B c \,x^{2}}{2}+A c x +B b \ln \relax (x )+C b x -\frac {A b}{x}-\frac {C a}{x}-\frac {B a}{2 x^{2}}-\frac {A a}{3 x^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.66, size = 56, normalized size = 0.89 \begin {gather*} \frac {1}{3} \, C c x^{3} + \frac {1}{2} \, B c x^{2} + B b \log \relax (x) + {\left (C b + A c\right )} x - \frac {3 \, B a x + 6 \, {\left (C a + A b\right )} x^{2} + 2 \, A a}{6 \, x^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.03, size = 55, normalized size = 0.87 \begin {gather*} x\,\left (A\,c+C\,b\right )-\frac {\left (A\,b+C\,a\right )\,x^2+\frac {B\,a\,x}{2}+\frac {A\,a}{3}}{x^3}+\frac {B\,c\,x^2}{2}+\frac {C\,c\,x^3}{3}+B\,b\,\ln \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.52, size = 63, normalized size = 1.00 \begin {gather*} B b \log {\relax (x )} + \frac {B c x^{2}}{2} + \frac {C c x^{3}}{3} + x \left (A c + C b\right ) + \frac {- 2 A a - 3 B a x + x^{2} \left (- 6 A b - 6 C a\right )}{6 x^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________